#pragma once
#include "stdafx.h"
#include "Sprite.h"
#include "CObject.h"
#include <vector>
#include <fstream>
#include "CBlue.h"
#include "ItemBlock.h"
#include "BlockTank.h"
#include "BlockTank2.h"
#include "Soldier.h"
#include "SoldierSniper.h"
using namespace std;


class MapObject: public CObject
{
protected:
	CKeyBoard *m_keyboard;
	CBlue *m_hero;

	vector<ITem*> m_FrameITem;
	vector<Character*> m_FrameEnemy;
	vector<ObjectTittle> Array;
	Collision *m_CheckCollision;
public:
	MapObject();
	void Init(CKeyBoard *keyboard, char *FileMap);
	void Update();
	virtual ~MapObject();
};

